package cn.south.campus.business.model.entity;

import cn.south.campus.common.model.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 钱包表
 * </p>
 *
 * @author chow
 * @since 2024-11-14
 */
@EqualsAndHashCode(callSuper = true)
@TableName("campus_wallet")
@Data
public class Wallet extends BaseEntity {

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 余额
     */
    private BigDecimal balance;

    /**
     * 冻结金额
     */
    private BigDecimal frozenAmount;
}
